/**
 *******************************************************************************
 * @file    tiny_kvdb_cfg.h
 * @brief   tiny key-value database config file.
 *******************************************************************************
 */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __TINY_KVDB_CFG_H
#define __TINY_KVDB_CFG_H

#ifdef __cplusplus
extern "C"
{
#endif

/* Includes ------------------------------------------------------------------*/


/* Exported Defines ----------------------------------------------------------*/
#define TINY_KVDB_LOG_EN                1
#define TINY_KVDB_DEBUG_EN              0

#define TINY_KVDB_MAX_USERS             4       /* maximum instances of kvdb */
#define TINY_KVDB_USE_CACHE             1       /* use cache can greatly improve read/write speed */

#if TINY_KVDB_USE_CACHE
    #define TINY_KVDB_CACHE_NUM         4
#endif

#define TINY_KVDB_BUFFER_SIZE           128     /* data buffer for read/write */





#ifdef __cplusplus
}
#endif

#endif

/******************************** END OF FILE *********************************/


